package com.yc.cinema;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component
public class Cat {

    private String name = "波斯";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "name='" + name + '\'' +
                '}';
    }
}
